
package com.sm.shoplook.domain.base;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "t_base_material_category")
public class MaterialCategory implements Serializable {

	@Id
	private Integer id;
	@Column(name = "img_url")
	private String imgUrl;
	/**
	 * 标题
	 */
	@Column(name = "category_name")
	private String categoryName;
	private String description;
	/**
	 * 状态： 0已删除 1正常
	 */
	private Integer status;
	@Column(name = "create_time")
	private Date createTime;
	private static final long serialVersionUID = 1L;

	/**
	 * @return id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return img_url
	 */
	public String getImgUrl() {
		return imgUrl;
	}

	/**
	 * @param imgUrl
	 */
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	/**
	 * 获取状态： 0已删除 1正常
	 * @return status - 状态： 0已删除 1正常
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * 设置状态： 0已删除 1正常
	 * @param status 状态： 0已删除 1正常
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * @return create_time
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
}
